<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加运输路线</title>
<link href="css/style.css" type="text/css" rel="stylesheet"/>
<link type="text/css" rel="stylesheet" href="css/jquery-ui.css" />
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/LocalList.js"></script>
<script type="text/javascript">
function saveArea(){
	var addre1 = $("#addre1").val();
	var addre2 = $("#addre2").val();
	var addre3 = $("#addre3").val();
	var carId = $("#carId").val();
	window.parent.document.getElementById("addre1").value=addre1;
	window.parent.document.getElementById("addre2").value=addre2;
	window.parent.document.getElementById("addre3").value=addre3;
	window.parent.document.getElementById("carId").value=carId;
	
}
</script>
</head>
<body>
  <input type="hidden" value="${id }" id="carId"  />
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#e3e3e3">
          <tr class="captitle">
            <td height="31"   valign="middle" style="padding-left: 20px;font-weight: bold;">
                      始发地
            </td>
            </tr>
          <tr height="26" bgcolor="#efefef">
            <td width="100%" height="35" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left: 10px;">
                <input value=""   class="input_are w122" id="addre1" onchange="saveArea()" style="width: 200px;"/>
            </td>
          </tr>
           <tr class="captitle">
            <td height="31"   valign="middle" style="padding-left: 20px;font-weight: bold;">
                     途经
            </td>
            </tr>
          <tr height="26" bgcolor="#efefef">
            <td width="100%" height="35" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left: 10px;">
                     <input value="" class="input_are w122" onchange="saveArea()" id="addre2" style="width: 200px;" /><span style="color: red;">&nbsp;&nbsp;&nbsp;*多个用空格隔开</span>
            </td>
          </tr>
          <tr class="captitle">
            <td height="31"   valign="middle" style="padding-left: 20px;font-weight: bold;">
                     目的地
            </td>
            </tr>
          <tr height="26" bgcolor="#efefef">
            <td width="100%" height="35" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left: 10px;">
               <input value="" class="input_are w122" onchange="saveArea()" id="addre3" style="width: 200px;" />
            </td>
          </tr>
        </table>
</body>
</html>